package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工培训记录对象 t_employee_training
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class EmployeeTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;



    /** 人员编号 */
    @Excel(name = "人员编号")
    private String employeeId;

    /** 学习形式 */
    @Excel(name = "学习形式")
    private String trainingForm;

    /** 培训学时 */
    @Excel(name = "培训学时")
    private Long trainingHours;

    /** 培训内容 */
    @Excel(name = "培训内容")
    private String trainingContent;

    /** 备注 */
    @Excel(name = "培训时间", cellType = Excel.ColumnType.TEXT)
    private String remarks;

    /** 年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardYear;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAwardYear(Date awardYear) 
    {
        this.awardYear = awardYear;
    }

    public Date getAwardYear() 
    {
        return awardYear;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setTrainingForm(String trainingForm) 
    {
        this.trainingForm = trainingForm;
    }

    public String getTrainingForm() 
    {
        return trainingForm;
    }
    public void setTrainingHours(Long trainingHours) 
    {
        this.trainingHours = trainingHours;
    }

    public Long getTrainingHours() 
    {
        return trainingHours;
    }
    public void setTrainingContent(String trainingContent) 
    {
        this.trainingContent = trainingContent;
    }

    public String getTrainingContent() 
    {
        return trainingContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("remarks", getRemarks())
            .append("awardYear", getAwardYear())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("employeeId", getEmployeeId())
            .append("trainingForm", getTrainingForm())
            .append("trainingHours", getTrainingHours())
            .append("trainingContent", getTrainingContent())
            .toString();
    }
}
